package com.qst.service;

import com.qst.po.Lesson;

import java.util.List;

public interface ILessonService {
    int getTotalCount();

    List<Lesson> getlessonsbypage(int page, int limit);

    int addlesson(Lesson lesson);

    List<Lesson> getalllessons();

    Lesson getlessonsbyid(int id);

    int updatelesson(Lesson lesson);

    int deletelesson(int id);
}
